From: Maxim Ermilov Date: Thu, 27 Jan 2011 23:24:38 +0000 (+0300) Subject: workspacesView: remove duplicate connection to same signal X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~9144 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8ebdb7f493c28a10bbddfc549f8e4dd29b0b7297;p=gnome-shell.git workspacesView: remove duplicate connection to same signal --- diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 40b7320d9..5f95a882b 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -1024,10 +1024,6 @@ WorkspacesDisplay.prototype = { this._workspaces[i] = new Workspace.Workspace(metaWorkspace); } - this._nWorkspacesNotifyId = - global.screen.connect('notify::n-workspaces', - Lang.bind(this, this._workspacesChanged)); - let binAllocation = this._workspacesBin.allocation; let binWidth = binAllocation.x2 - binAllocation.x1; let binHeight = binAllocation.y2 - binAllocation.y1;